package com.jzy.shardingjdbc.repository;

import com.jzy.shardingjdbc.entity.GoodInfo;
import com.jzy.shardingjdbc.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author jinzhiyuan
 * @Description: UserMapper 调用数据库
 * @date 2020-4-28 17:30
 */
@Mapper
public interface UserRepository  {

     Integer addUser(User user);

     List<User> list();

     int addGoods(GoodInfo goodInfo);

     List<GoodInfo> getGoodList();
}
